package com.service.imp;

import com.mapper.ZhuTiMapper_x;
import com.pojo.ZhuTi_x;
import com.service.ZhuTiService_x;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ZhuTiServiceImp_x implements ZhuTiService_x {
    @Autowired
    private ZhuTiMapper_x zhuTiMapperX;

    @Override
    public List<ZhuTi_x> getById(Integer id) {
        return zhuTiMapperX.getById(id);
    }

    @Override
    public Integer add(ZhuTi_x zhuTiX) {
        return zhuTiMapperX.add(zhuTiX);
    }

    @Override
    public Integer delete(Integer id) {
        return zhuTiMapperX.delete(id);
    }


    @Override
    public List<ZhuTi_x> select(Integer id, String user, String content) {
        return zhuTiMapperX.select(id, user, content);
    }
}
